package core

import "net/http"

type Controller interface {
	Handle(request *HttpRequest) *HttpResponse
}

type Render interface {
	Render(response *HttpResponse, w http.ResponseWriter)
}

type Router interface {
	Add(urlPath string, controller Controller)
	Match(urlPath string) Controller
	List() map[string]Controller
}

type Filter interface {
	Filter() bool
}
